/**
 * 接口列表文件
 */
export default {
	// app2/acceptance/queryComments
	queryComment: {
		yanshou:{
			url: "app2/acceptance/queryComments",
			auth: false,
			method: "post",
		}
	},
	// 优惠券
	coupons: {
		NewUserCoupons: {
			url: "app2/holdCoupons/queryNewUserCoupons",
			auth: false,
			method: "post",
		},
		getNewUser: {
			url: "app2/holdCoupons/getNewUserCoupons",
			auth: false,
			method: "post",
		},
		ueryNewUser: {
			url: "app2/holdCoupons/queryNewUser",
			auth: false,
			method: "post",
		}
	},
	user: {
		login: {
			url: "app3/consumer/loginConsumer",
			auth: false,
			method: "post",
		},
		reg: {
			url: "app3/consumer/registerConsumer",
			auth: false,
			method: "post",
		},
		code: {
			url: 'app3/consumer/sendMsg',
			auth: false,
			method: "get"
		},
		info: {
			url: 'app3/consumer/queryConsumerInfo',
			auth: true,
			method: 'post'
		},
		logout: {
			url: 'app3/consumer/quit',
			auth: true,
			method: 'post'
		},
		changePasswordByPhone: {
			url: 'app3/consumer/changePasswordByPhone',
			auth: true,
			method: 'post'
		},
		// /dev-api/app3/consumer/changePhone
		changePhone: {
			url: 'app3/consumer/changePhone',
			auth: false,
			method: "GET",
		},
		// /dev-api/app3/consumer/changePasswordByCode 修改密码-手机验证
		changePasswordByCode: {
			url: 'app3/consumer/changePasswordByCode',
			auth: true,
			method: 'post'
		},
		///dev-api/app3/consumer/logout 注销
		logouts: {
			url: 'app3/consumer/logout',
			auth: false,
			method: "GET",
		},
		///aapp2/project/queryHousing查找房屋信息
		queryHousing: {
			url: 'app2/project/queryHousing',
			auth: true,
			method: 'post'
		},

	},
	my: {
		// /app2/project/checkHousing  检测是否有家
		// checkHousing:{
		// 	url:'app2/project/checkHousing',
		// 	auth:true,
		// 	method:'post'
		// },
		// 添加房屋  编辑房屋 /app2/project/saveHousing
		saveHousing: {
			url: 'app2/project/saveHousing',
			auth: true,
			method: 'post'
		},
		// 微信登录授权 封装在这了
		wechatAuthorization: {
			url: "app3/consumer/wxLoginConsumer",
			auth: true,
			method: "POST"
		}

	},
	harryroom: {
		///aapp2/project/queryHousing查找房屋信息
		queryHousing: {
			url: 'app2/project/queryHousing',
			auth: true,
			method: 'post'
		},
		///app2/project/queryRoomType 查询房屋类型\
		queryRoomType: {
			url: 'app2/project/queryRoomType',
			auth: true,
			method: 'post'
		},
		///app3/servicePrice/queryServiceType 主材采购咨询
		queryServiceType: {
			url: 'app1/consulting/queryServiceType',
			auth: false,
			method: 'get'
		},
		//app1/examine/queryServiceType  获取合同
		getqueryServiceType: {
			url: 'app1/examine/queryServiceType',
			auth: false,
			method: 'get'
		},
		// app1/consulting APP新增选材咨询1
		consulting: {
			url: 'app1/consulting/add',
			auth: true,
			method: 'post'
		},
		//app1/examine/addsigning
		addsigning: {
			url: 'app1/examine/addsigning',
			auth: true,
			method: 'post'
		},
		///dev-api/app1/calculation/generate 生成原始施工
		generate: {
			url: 'app1/calculation/generate',
			auth: false,
			method: 'get'
		},
		// app3/servicePrice/queryServiceType 根据城市和服务名查询
		queryServiceTypeApp3: {
			url: 'app3/servicePrice/queryServiceType',
			auth: false,
			method: 'get'
		},
		///app3/inspectionService/buyInspection 提交巡检订单
		buyInspectionOrder: {
			url: 'app3/inspectionService/buyInspection',
			auth: true,
			method: 'post'
		},
		toolqueryInspectionFrequency: {
			url: 'app3/inspectionService/queryInspectionFrequency',
			auth: false,
			method: 'get'
		},

		///app3/inspectionService/queryInspectionFrequency  我家进程-巡检进程/小工具-现场巡检-查看各期巡检
		queryInspectionFrequency: {
			url: 'app3/orders/queryInspectionFrequency',
			auth: false,
			method: 'get'
		},
		//app3/inspectionService/viewInspectionFrequency 查看某次巡检详情
		viewInspectionFrequency: {
			url: 'app3/inspectionService/viewInspectionFrequency',
			auth: false,
			method: 'get'
		},
		///app3/inspectionService/commentInspectionFrequency 评价某次巡检
		commentInspectionFrequency: {
			url: 'app3/inspectionService/commentInspectionFrequency',
			auth: false,
			method: 'get'
		},
		///dev-api/app3/consumer/queryConsumerInfo   查询用户信息  
		queryConsumerInfo: {
			url: 'app3/consumer/queryConsumerInfo',
			auth: true,
			method: 'post'
		},
		// /dev-api/app3/consumer/updateConsumerInfo 更新用户信息
		updateConsumerInfo: {
			url: 'app3/consumer/updateConsumerInfo',
			auth: false,
			method: 'get'
		},
		///app2/holdCoupons/queryCoupons   优惠券查询
		buyInspection: {
			url: 'app2/holdCoupons/queryCoupons',
			auth: true,
			method: 'post'
		},
		// /app3/wholeProcess/buyWholeProcessConsult
		buyWholeProcessConsult: {
			url: 'app3/wholeProcess/buyWholeProcessConsult',
			auth: true,
			method: 'post'
		},
		///app3/wholeProcess/calcuWholeProcessPrice 全流程咨询-计算价格
		calcuWholeProcessPrice: {
			url: 'app3/wholeProcess/calcuWholeProcessPrice',
			auth: false,
			method: 'get'
		},
		///app3/wholeProcess/viewWholeOrderDetails 查看全流程咨询/全流程管家订单详情
		viewWholeOrderDetails: {
			url: 'app3/wholeProcess/viewWholeOrderDetails',
			auth: false,
			method: 'get'
		},
		// /app1/examine/calculation  计算金额
		calculations: {
			url: 'app1/examine/calculation',
			auth: false,
			method: 'get'
		},
		//app2/decorationType/queryDecorationTypeList 查询装修等级
		queryDecorationTypeList: {
			url: 'app2/decorationType/queryDecorationTypeList',
			auth: true,
			method: 'post'
		},
		//app2/est/queryEst 估算价格
		queryEst: {
			url: 'app2/est/queryEst',
			auth: true,
			method: 'post'
		},
		//app2/est/saveEst  保存同步我家总览
		saveEst: {
			url: 'app2/est/saveEst',
			auth: true,
			method: 'post'
		},
		//app1/consulting/getorderid  选材订单详情
		getorderid: {
			url: 'app1/consulting/getorderid',
			auth: false,
			method: 'get'
		},
		///app1/calculation/stayRefuseRi 变更拒绝 
		stayRefuseRi: {
			url: 'app1/calculation/stayRefuseRi',
			auth: false,
			method: 'get'
		},
		///app1/calculation/stayRefuse 生成变更拒绝
		stayRefuse: {
			url: 'app1/calculation/stayRefuse',
			auth: false,
			method: 'get'
		},
		///app2/toDoList/delToDoList 删除代办
		delToDoList: {
			url: 'app2/toDoList/delToDoList',
			auth: true,
			method: 'post'
		},
		//app2/issue/updateReplystatus 用户端拒绝,确认,巡检段确认解决接口
		updateReplystatus: {
			url: 'app2/issue/updateReplystatus',
			auth: true,
			method: 'post'
		},
		//app2/issue/confirmToDoList 变更确认
		confirmToDoList: {
			url: 'app2/toDoList/confirmToDoList',
			auth: true,
			method: 'post'
		},
	}

};
